#ifndef WORKERTHREAD_H
#define WORKERTHREAD_H

#include <QThread>
#include <QVector>
#include "database.h"
#include "tabu.h"


class workerThread : public QThread
{
    Q_OBJECT

public:
    tabu *algorithm;
    explicit workerThread(DataBase *base,
                          int _iter,
                          int _iterImprov,
                          int _improv,
                          int _tabuLength,
                          int _iterJump,
                          int _iterLocalJump,
                          QVector<int> _firstSolution,
                          int _kara,
                          int _nagroda,
                          QObject *parent = 0);
    explicit workerThread();
    void run();
signals:
  //  void on_algStep(int number, int cost,QVector<int> bestSolution);

public slots:
    
};

#endif // WORKERTHREAD_H
